

#include <stdint.h>
#include <stdio.h>
#include <string.h>

#include "lvgl.h"
#include "fr_watch.h"
#include "lv_common_function.h"


#define WATCH_DEBUG(fmt, arg...) printf("[WATCH]" fmt "\r\n", ##arg)

//cm3 input
__attribute__((section("ram_cs"))) ipc_daily_data_t sync_cm3_data;
__attribute__((section("ram_cs"))) sleep_history_stru	sleep_history_data = {0};
__attribute__((section("ram_cs"))) uint8_t sportheartrate_historydata[72] = {0};
__attribute__((section("ram_cs"))) uint8_t heartrate_historydata[48] = {0};

ctp_type_t tp;
ctp_timer_t tp_timer;

extern lv_obj_t *prj_parent_cont;
extern lv_obj_t *prj_call_cont; 
lv_obj_t *cur_show_vol_slider = NULL;

uint8_t msg_list_total;
__attribute__((section("ram_cs"))) ancs_msg_t	msglist;
__attribute__((section("ram_cs"))) call_record_list_t record_list;
__attribute__((section("ram_cs"))) uint8_t call_context[200];
__attribute__((section("ram_cs"))) uint8_t call_list[200];
__attribute__((section("ram_cs"))) uint8_t book_list[10][200];


void dsp_post_operate_to_m3(uint8_t op_cmd,uint8_t *buffer,uint16_t len)
{

#ifdef FR508X_DSP_SDK
	uint8_t op_head[2];
	op_head[0] = 0;
	op_head[1] = op_cmd;
	ipc_msg_with_payload_send(IPC_MSG_M3_INPUT, op_head,2,buffer,len,NULL);
#endif

}




